﻿#ifndef __TEST_CLASS_H__
#define __TEST_CLASS_H__
#include "ssObject.h"
#include <iostream>

using namespace StarSeeker;

class testClassA : public ssObject
{
public:
	testClassA()
	{
		m_name = "this is testClassA";
		m_age = 961589;
	}

	void Show1()
	{
		std::cout << "Show1" << std::endl;
	}

	int Show2(int a, int b)
	{
		std::cout << "Show2:"<<a+b << std::endl;
		return a + b;
	}

	std::string		m_name;
	int				m_age;
};
SS_REGISTER_CLASS(testClassA)
SS_REGISTER_CLASS_FIELD(testClassA, m_name, string)
SS_REGISTER_CLASS_FIELD(testClassA, m_age, int)
SS_REGISTER_CLASS_METHOD(testClassA, Show1, void)
SS_REGISTER_CLASS_METHOD(testClassA, Show2, int, int, int)

#endif
